!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <script type="text/javascript">
    var name = "xxx";
    function f1(){
      return name;
    }
    function f2() {
      var age = 21;
      var time = "2014-9-1";
      return name+"        "+age+"       "+time;
    }
    function f3(){
      var louhao = "5号楼";
      var sushehao = "3#305";
      var jirenjian = "6人间";
      return louhao+"        "+sushehao+"        "+jirenjian;
    }
    console.log("学生信息：");
    console.log(f2());
    console.log("住宿信息：");
    console.log(f3());
    </script>
  </body>
</html>
